package com.sumfun.blog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sumfun.blog.model.domain.Article;
import com.sumfun.blog.model.dto.ArticleQueryDTO;
import com.sumfun.blog.model.request.ArticleAddRequest;
import com.sumfun.blog.model.request.ArticleQueryRequest;
import com.sumfun.blog.model.request.ArticleUpdateRequest;

/**
 * 超前探信息Service接口
 *
 * @author linespace
 * @date 2024-01-16
 */
public interface ArticleService extends IService<Article> {

    Long addArticle(ArticleAddRequest articleRequest);

    boolean updateArticle(ArticleUpdateRequest articleUpdateRequest);

    Page<ArticleQueryDTO>  getPageList(ArticleQueryRequest articleQueryRequest);
}
